<template>
  <el-descriptions
      class="margin-top"
      :column="1"
      border>
    <el-descriptions-item>
      <template slot="label">
        <i class="el-icon-edit"></i>
        测试名称
      </template>
      {{ form.taskname }}
    </el-descriptions-item>
    <el-descriptions-item>
      <template slot="label">
        <i class="el-icon-user"></i>
        发包方
      </template>
      {{ form.username }}
    </el-descriptions-item>
    <el-descriptions-item>
      <template slot="label">
        <i class="el-icon-setting"></i>
        测试类型
      </template>
      {{ form.type }}
    </el-descriptions-item>
    <el-descriptions-item>
      <template slot="label">
        <i class="el-icon-time"></i>
        截止日期
      </template>
      {{ form.deadline }}
    </el-descriptions-item>
    <el-descriptions-item>
      <template slot="label">
        <i class="el-icon-document"></i>
        任务描述
      </template>
      {{ form.description }}
    </el-descriptions-item>
  </el-descriptions>
</template>

<script>
export default {
  name: "TaskDetailTable",
  props: {
    form: {
      default: {}
    }
  }
}
</script>

<style scoped>

</style>
